package cn.itsource.pethome.org.service;

import cn.itsource.pethome.base.domain.BaseQuery;
import cn.itsource.pethome.base.domain.PageResult;
import cn.itsource.pethome.org.domain.Department;

import java.util.List;

public interface DepartmentService {
    Department findOne(Long id);

    void insert(Department department);

    PageResult<Department> findPage(BaseQuery query);

    void update(Department department);

    void delete(Long id);

    void deleteBatch(List<Long> ids);

    List<Department> findTree();

}
